
import React from 'react'

export default function Control() {

const  [val,setVal]=React.useState('999')


function inputChange(e) {
    const val =e.target.value

    setVal(val)
    
}

  return (
    <div>Control
        <input type="text"  value={val} onChange={inputChange}/>

    </div>
  )
}
